package com.xbongbong.paas.model;

import com.xbongbong.saas.domain.entity.ContractCompareEntity;

import java.util.List;
import java.util.Map;


/**
 * @author bomfish
 */
public interface ContractCompareModel {
   Long insert(ContractCompareEntity entity);

   void insertBatch(List<ContractCompareEntity> list);

   List<ContractCompareEntity> findEntities(Map<String, Object> param);

   Integer getEntityCount(Map<String, Object> param);

   void update(ContractCompareEntity entity);

   ContractCompareEntity getByKey(Long key, String corpid);
}
